fix package app booboo. (#366)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Wed, 29 May 2019 22:12:48 +0000 (16:12 -0600)
committerGitHub <noreply@github.com>
Wed, 29 May 2019 22:12:48 +0000 (16:12 -0600)
dmg location was wrong so our attempt to remove any existing
dmg did not work.

gui/package_app

index ed956ea74f7b54034b3398e67f205da4accd5165..40de4aabde248ca4ab1b5e90b26babac7f83458c 100755 (executable)
@@ -115,7 +115,7 @@ else # Mac
   cp ../GPSBabel "${APPDIR}/Contents/MacOS/gpsbabel"
   cp gmapbase.html "${APPDIR}/Contents/MacOS"
   cp COPYING.txt "${APPDIR}/Contents/MacOS"
-  rm -f objects/GPSBabelFE.dmg
+  rm -f GPSBabelFE.dmg
   # macdeploytqt likes relative paths or else the dmg mount points get funky.
   "${MACDEPLOYQT}" "${APPBUNDLE}" -executable="${APPBUNDLE}/Contents/MacOS/gpsbabel" -dmg -verbose=2
 fi